package com.ruiyi.adrobot.mongo.fun;/**
 * Created by tao.zeng on 2017/6/8.
 */

import com.ruiyi.adrobot.beans.Fun;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author
 * @create 2017-06-08 9:45
 **/
public interface FunRepository extends MongoRepository<Fun, String>, FunOperations {
    Fun getByFunOrDescribe(Integer fun, String describe);

    Fun findByFun(Integer fun);

    Fun getByFunAndFlowsDescribe(Integer fun, String describe);

}
